﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addfolder.aspx.cs" Inherits="Folders_AddFolder" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
        <table style="width: 100%;">           
            <tr>
                <td>
                   
                    <asp:Label ID="Label1" runat="server" Text="Folder Name"></asp:Label>
                   
                </td>
                <td>
                    <asp:Label ID="lblParentFolderPath" runat="server"></asp:Label>
                    <asp:TextBox ID="txtFolderName" runat="server" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvFolderName" runat="server" 
                        ErrorMessage="*" ControlToValidate="txtFolderName" Display="Dynamic" 
                        ValidationGroup="CMD_CREATE_FOLDER"></asp:RequiredFieldValidator>
                   
                    <asp:HiddenField ID="hdFolderId" runat="server" />
                   
                    
                   
                    <asp:HiddenField ID="hdParentFolderId" runat="server" />
                   
                    
                   
                </td>
               
            </tr>
            <tr>
                <td>
                   
                    <asp:Label ID="Label2" runat="server" Text="Owner"></asp:Label>
                   
                </td>
                <td>
                   
                    <asp:TextBox ID="txtOwner" runat="server" Width="200px"></asp:TextBox>
                   
                </td>
               
            </tr>
            <tr>
                <td>
                   
                    <asp:Label ID="Label3" runat="server" Text="IsPublic"></asp:Label>
                   
                </td>
                <td>
                   
                    <asp:CheckBox ID="chkIsPublic" runat="server" />
                   
                </td>
               
            </tr>
            <tr>
                <td>
                   
                    &nbsp;</td>
                <td>
                   
                    <asp:LinkButton ID="lbtnSave" runat="server" onclick="lbtnSave_Click" 
                        ValidationGroup="CMD_CREATE_FOLDER">Save</asp:LinkButton>
&nbsp;<asp:LinkButton ID="lbtnCancel" runat="server">Cancel</asp:LinkButton>
                   
                </td>
               
            </tr>
            </table>
    </div>
    </form>
</body>
</html>
